package com.lowang.test.springmvc.service;

import java.util.List;

import com.lowang.test.springmvc.domain.User;
import com.lowang.test.springmvc.exception.AppException;

public interface IUserService {
  List<User> list(User user) throws AppException;

  User add(User user) throws AppException;

  User delete(Long id) throws AppException;

  User update(User user) throws AppException;
}
